﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Text;
using System.Drawing;
using System.Collections.Generic;
using Card.Common;

namespace Card.Web
{
    public partial class _Default : BasePage
    {
        #region
        protected void Page_Load(object sender, EventArgs e)
        {
            this.DoInit();
        }
        #endregion

        #region
        private void DoInit()
        {
            Card.DataBase.Pagination pagination = new Card.DataBase.Pagination()
            {
                TableName = "TEMPLATE",
                PageSize = 12,
                OrderBy = " NEWID()",
                PageNumber =  1,
                Condition = "  AND STATUS='Y'"
            };

            DataTable dtData = BLL.TemplateManager.Query(pagination);
            this.rptCardList.DataSource = dtData;
            this.rptCardList.DataBind();
        }
        #endregion
    }
}
